package com.example.HaiDLaobackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("product")
public class ProductEntity {
	@TableId(type = IdType.AUTO)
	private Long id;
	private String title;
	private String subTitle;
	private Long categoryId;
	private String coverImage;
	private BigDecimal price;
	private BigDecimal originalPrice;
	private Integer stock;
	private Integer sales;
	private Integer status; // 1:on 0:off
	private String tags; // comma separated
	private String detail;
	private String galleryImages;
	private String origin;
	private String weight;
	private String unit;
	private String storageInfo;
	private String nutrition;
	private String shippingInfo;
}


